package com.zrx.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zrx.springboot.entity.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

public interface UserService extends IService<User> {

    /**
     * 验证用户的存在性
     */
    public String checkUser(String username);

    public  String loginCheck(User loginUser, HttpSession session,String vehicle, HttpServletResponse response, HttpServletRequest request);

    void upword(Integer id,String password);
}
